ubuntu22.04
參考來源: https://www.cyberciti.biz/faq/how-to-install-gol-ang-on-ubuntu-linux/
安裝command
apt install golang-go
package main
import (
"fmt"
)
// Let us start
func main() {
fmt.Println("Hello, world!") // Print simple text on screen
}
如何編譯附圖